<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:68:"D:\wamp\www\serv\public/../application/admin\view\user\edituser.html";i:1554712633;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Edituser</title>
    <style>
        input,select{
        margin: 5px;
        height: 20px;
        width: 150px;
        line-height: 20px;
        /* text-align: center; */
    }
    </style>
</head>

<body>
    <form action="<?php echo url('updateuser'); ?>">
        <input type="hidden" name="uid" value="<?php echo $user['uid']; ?>">
        username:        <input type="text" name="username" value="<?php echo $user['uname']; ?>"><br>
        password:        <input type="password" name="password" value="<?php echo $user['pw']; ?>"><br>
        PhoneNumber:     <input type="text" name="phoneNum" value="<?php echo $user['tele']; ?>"><br>
        E-mail:          <input type="email" name="email" value="<?php echo $user['mail']; ?>"><br>
        select your role:<select name="rid" id="role">
            <?php if(is_array($role) || $role instanceof \think\Collection || $role instanceof \think\Paginator): $i = 0; $__LIST__ = $role;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <option value="<?php echo $vo['rid']; ?>"><?php echo $vo['rname']; ?></option>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </select><br>
        <input type="submit" value="do">
    </form>
</body>

</html>
